<template>
  <div>
    <p>html template</p>
    <ul v-if="items.length">
      <li v-for="(item, index) in items" :key="index">{{ item.name }}</li>
    </ul>
    <p v-else>No items found.</p>
  </div>
</template>

<script>
export default {
  props: {
    items: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style>
</style>